﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="JWBSTAPP.TbBstDicCollectManagement"
    CodeBehind="TbBstDicCollectManagement.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理</title>
    <script src="../Scripts/jQuery-1.9.0.js" type="text/javascript"></script>
    <script src="../Scripts/thickbox.js" type="text/javascript"></script>
    <script src="../Scripts/CommonADEQ3.js" type="text/javascript"></script>
    <link href="../Styles/thickbox.css" type="text/css" rel="Stylesheet" />
    <link href="../Styles/Management.css" type="text/css" rel="Stylesheet" />
    <script type="text/javascript" src="../Scripts/alert/ymPrompt.js"></script>
    <link rel="stylesheet" type="text/css" href="../Scripts/alert/skin/qq/ymPrompt.css" />
    <script src="../TreeAndGridDemo/Time_js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        $().ready(function () {
            selectId = "selCode";
            itemParam = { "textField": "name", "valueField": "value" };
            ajaxParam = { "url": "../AjaxServer/Application/TbBstDicCollectHandler.ashx", "data": { "action": "QueryRecordForDrop"} }
            initDropDownList(selectId, ajaxParam, itemParam);
            var ashxParam = { url: "../AjaxServer/Application/TbBstDicCollectHandler.ashx", pageSize: "15" };
            var addPage = { title: "新增信息", url: "../Application/TbBstDicCollectAdd.aspx", width: "800", height: "400" };
            var editPage = { title: "修改信息", url: "../Application/TbBstDicCollectEdit.aspx", width: "800", height: "400" };
            var detailPage = { title: "详细信息", url: "../Application/TbBstDicCollectDetail.aspx", width: "800", height: "400" };
            var columnInfo = [{ "columnName": "CODE", "columnText": "字典类型", "width": "150px" }, { "columnName": "DESCRIPTION", "columnText": "字典描述", "style": "width:200px" }, { "columnName": "CREATEDATE", "columnText": "信息添加时间", "width": "200px"}];
            var queryBuilder = [];
            initNewGrid(queryBuilder, ashxParam, columnInfo, addPage, editPage, detailPage);
            initQueryBuildForm("form1");
        });
    </script>
</head>
<body>
    <div class="container">
        <div class="header">
        </div>
        <div class="main">
            <form id="form1" action="#">
            <div class="searchbar">
                <div class="leftImgDiv">
                    <img src="../Images/tab_03.gif" width="12" alt="" /></div>
                <div class="searchTitle">
                    检索</div>
                <div class="rightImgDiv">
                    <img src="../Images/tab_07.gif" width="16" alt="" />
                </div>
            </div>
            <div class="searchinfo">
                <table>
                    <tr align="center">
                        <td>
                            字典编码：
                        </td>
                        <td>
                            <input id="texCode" name="texCode" type="text" size="15" />
                        </td>
                        <td>
                            字典描述：
                        </td>
                        <td>
                            <input id="TexDescribe" name="TexDescribe" type="text" maxlength="100" style="width: 300px" />
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            父字典名：
                        </td>
                        <td>
                            <select id="selCode" name="selCode" style="width: 123px">
                                <option value="">==无限制==</option>
                            </select>
                        </td>
                        <td>
                            信息添加时间：
                        </td>
                        <td>
                            <input type="text" id="texTimeStart" name="texTimeStart" runat="server" readonly="readonly"
                                maxlength="12" onclick="WdatePicker()" style="width: 103px" />
                            至
                            <input type="text" id="texTimeEnd" name="texTimeEnd" runat="server" readonly="readonly"
                                maxlength="12" onclick="WdatePicker()" style="width: 103px" />&nbsp;&nbsp;&nbsp;<input
                                    id="btnQuery" type="submit" value="查询" />
                        </td>
                        <td>
                            &nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                    </tr>
                </table>
            </div>
            <div class="pagerDiv">
                <div class="leftImgDiv">
                    <img src="../Images/tab_18.gif" width="12" height="35" alt="" /></div>
                <div class="rightImgDiv">
                    <img src="../Images/tab_20.gif" width="16" height="35" alt="" />
                </div>
            </div>
            </form>
            <table class="mainTop">
                <tr>
                    <td width="12">
                        <img src="../Images/tab_03.gif" width="12" height="30" alt="" />
                    </td>
                    <td width="16">
                        <img src="../Images/tb.gif" width="16" height="16" alt="" />
                    </td>
                    <td class="tableName">
                        管理
                    </td>
                    <td align="right">
                        <span class="pointer" id="imgCreate" runat="server">
                            <img src="../Images/add.gif" width="14" height="14" alt="" />
                            新增</span>
                        <%-- <span class="pointer" id="imgUpdate" runat="server">
                                <img src="../Images/edit.gif" width="14" height="14" alt="" />修改</span>
                        <span class="pointer" id="imgDelete" runat="server">
                            <img src="../Images/del.gif" width="14" height="14" alt="" />删除</span>--%>
                    </td>
                    <td width="12">
                        <img src="../Images/tab_07.gif" width="12" height="30" alt="" />
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto;
                table-layout: fixed;">
                <tr>
                    <td width="8" style="background-image: url(../Images/tab_12.gif)">
                        &nbsp;
                    </td>
                    <td>
                        <table id="contentTable" width="100%" border="0" cellpadding="0" cellspacing="1"
                            bgcolor="b5d6e6" onmouseover="changeto()" onmouseout="changeback()">
                        </table>
                    </td>
                    <td width="8" style="background-image: url(../Images/tab_15.gif)">
                        &nbsp;
                    </td>
                </tr>
            </table>
            <div id="pagerDiv" class="pagerDiv">
                <div id="leftImgDiv" class="leftImgDiv">
                    <img src="../Images/tab_18.gif" width="12" height="35" alt="" /></div>
                <div id="pageCountDiv" class="pageCountDiv">
                    共有 <span id="totalCountSpan">15</span> 条记录，每页 <span id="pageCountSpan">120</span>
                    条，当前第 <span id="pageIndexSpan">1/10 页</span></div>
                <div id="pagerButtonDiv" class="pagerButtonDiv">
                    <a id="firstBut">
                        <img src="../Images/first.gif" width="37" height="15" alt="" /></a> <a id="previousBut">
                            <img src="../Images/back.gif" width="43" height="15" alt="" /></a> <a id="nextBut">
                                <img src="../Images/next.gif" width="43" height="15" alt="" /></a> <a id="lastBut">
                                    <img src="../Images/last.gif" width="37" height="15" alt="" /></a>
                </div>
                <div class="goToDiv">
                    转到第&nbsp;<input type="text" size="4" id="pagerInput" />&nbsp;页
                </div>
                <div id="goToButtonDiv" class="goToButtonDiv">
                    <a id="gotoBut">
                        <img src="../Images/go.gif" width="37" height="15" alt="" /></a>
                </div>
                <div id="rightImgDiv" class="rightImgDiv">
                    <img src="../Images/tab_20.gif" width="16" height="35" alt="" />
                </div>
            </div>
        </div>
        <div class="footer">
        </div>
    </div>
</body>
</html>
